package cn.wbnull.springbootdemo.controller;

import java.util.ArrayList;

import lombok.Data;

/**
 * 功能描述
 *
 * @author EDZ
 * @since 2022-09-15
 */
class popop {
    public static void main(String[] args) {
         ArrayList<Employee> list = new ArrayList<>();
         Employee employee = new Employee("","","",17,2);
         list.add(employee);
        System.out.println(list);
    }
    @Data
    public static class Employee {
        private String name;
        private String work;
        private String sector;
        private int age;
        private int salary;

        public Employee(String name, String work, String sector, int age, int salary) {
            this.name = name;
            this.work = work;
            this.sector = sector;
            this.age = age;
            this.salary = salary;
        }
    }
}
